package com.skywolf.chem.manager.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.skywolf.chem.common.sysconfig.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息推送表
 * </p>
 *
 * @author 
 * @since 2020-07-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="PushMessage对象", description="消息推送表")
public class PushMessage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "推送标题")
    private String pushTitle;

    @ApiModelProperty(value = "推送消息体")
    private String pushMsg;

    @ApiModelProperty(value = "0-推送失败  1-推送成功")
    private Integer pushStatus;

    @ApiModelProperty(value = "推送消息关联的新闻id")
    private Long articleId;

    @ApiModelProperty(value = "帖子标题")
    @TableField(exist = false)
    private String articleTitle;


}
